home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 12 / MacFormat n. 12 (Spain) / MacFormat 12.bin / Shareware Internet / Internet / ServerScreenCapture folder / about ServerScreenCapture next >
Encoding:
Text File  |  1995-11-27  |  2.3 KB  |  32 lines

  1. Web Server Screen Capture Utility
  2. version 0.1 (November 25, 1995)
  3. written by Steve Maller
  4. steve@maller.com
  5. http://www.maller.com/
  6.  
  7. I run a Macintosh with a MacHTTP web server and an Apple Internet Mail Server in my office, and there are times I’d just like to peek at the Mac’s screen. However, I don’t like waiting for that machine’s monitor to warm up. Even worse, I recently had to borrow that machine’s monitor for another machine. My solution?
  8.  
  9. I wrote this CGI application in CodeWarrior C that takes a screenshot of the current Macintosh screen, converts it to a .GIF file, and displays it all in your web browser. 
  10.  
  11. I used Grant Neufeld’s excellent framework (Grant's CGI Framework 1.0b10).
  12.  
  13. Installation
  14. To install the program, just copy it to the same folder you use for your other CGI scripts and applications (or make a new one...it doesn’t matter where you put it). You should give the program a unique name unless you want everybody on the WWW to be peeking at your server’s screen!
  15.  
  16. Use
  17. In your web browser, type the following URL:
  18.  
  19.     http://<your server name here>/<the program's folder>/<the program's name>
  20.  
  21. For example, if your server is www.goofball.com, your CGI folder is called MyCGIs and you named my program capture_it.acgi, you would use the following URL:
  22.  
  23.     http://www.goofball.com/MyCGIs/capture_it.acgi
  24.  
  25. Some notes about the current implementation (version 0.1)
  26. • This is a “Fat” binary, capable of running native on both 68K and PowerPC Macs
  27. • I don’t own WebStar, so I haven’t tested that (but it should work)
  28. • The current version is hard-coded to generate a 256-color, 640*480 .GIF file. If your display’s something other than that, it’ll try to dither the image for the best possible quality.
  29. • It takes anywhere from 2 to 10 seconds to generate the .GIF file, so be patient.
  30. • If an error occurs, the program reports the error in the resulting HTML document.
  31.  
  32. This software is provided free of charge. It’s the least I can do to repay the ’net for all the fun and productivity I’ve wrung from it. That said, you use this software at your own risk, I assume no responsibility for anything it says or does to you or anybody you know. This software is ©1995 Steve Maller. All rights reserved. This software may be freely distributed as long as this notice accompanies it. This software may not be sold for profit.